package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.dto.House;
import com.qfedu.yuxiaoer.entity.HouseDetachedBuild;
import com.qfedu.yuxiaoer.entity.HouseLease;
import com.qfedu.yuxiaoer.entity.PreLease;
import com.qfedu.yuxiaoer.entity.PreLeaseExample;

import java.util.Collection;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PreLeaseMapper {
    long countByExample(PreLeaseExample example);

    int deleteByExample(PreLeaseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PreLease record);

    int insertSelective(PreLease record);

    List<PreLease> selectByExample(PreLeaseExample example);

    PreLease selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PreLease record, @Param("example") PreLeaseExample example);

    int updateByExample(@Param("record") PreLease record, @Param("example") PreLeaseExample example);

    int updateByPrimaryKeySelective(PreLease record);

    int updateByPrimaryKey(PreLease record);

    List<PreLease> selectPre(String city, String type, PreLease preLease);

    List<PreLease> selectPre1(String city, String type, PreLease preLease);

}